<?php 
	require_once (dirname(__FILE__).'/includes/tpl_config.php');
	require_once (dirname(__FILE__).'/includes/dbconn.php');
	
	$sql = "select * from module";
    $result = $db->sql_query($sql);
    $rowset = $db->sql_fetchrowset($result);
	$db->sql_freeresult($result);
	$tpl->assign("navirows",$rowset);  
	
	//$tpl->assign("title","IBM俱乐部");
	$tpl->display('navi.tpl');
?>